from sina_weibo import *
from settings import *
import pprint
if __name__ == '__main__':
    weibo_craw=WeiboCraw()
    resp_obj=weibo_craw.get_resp_obj(word=word,page='')
    hot_list=weibo_craw.get_hot_info(resp_obj)
    total_list=weibo_craw.get_all_info(word=word,total_page=total_page)
    print(hot_list,total_list)
    weibo_craw.save_to_excel(hot_list,total_list)